import {
	createPinia
} from 'pinia'
import {
	createUnistorage
} from "@/uni_modules/pinia-plugin-unistorage";
// 导入自定义的导航函数
import {
	navigateTo
} from '@/utils/index.js';
const pinia = createPinia();
pinia.use(createUnistorage())

export const getPinia = (app) => {
	app.use(pinia)
}